package org.fu.crowd.mvc.controller;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class TestHandler {


    @RequestMapping("/admin-login")
    public String admin_login(){
        return "admin-login";
    }


    @RequestMapping("/")
    public String index(){
        return "index";
    }

    @RequestMapping("/redirect")
    public String redirect(){
        return "main";
    }


    @RequestMapping("/main/user/addUser")
    public String addUser(){
        return "addUser";
    }


    @RequestMapping("/main/role")
    public String role(){
        return "role";
    }


    @RequestMapping("/menu")
    public String menu(){
        return "menu-page";
    }


    @RequestMapping("/system-error")
    public String system_error(){
        return "system-error";
    }


}
